const express = require("express");
const app = express();

app.get("/", function (req, res) {
  res.send("Hello World!");
});

app.get("/upload", function (req, res) {
  console.log("/upload");
  res.send("Hello World!");
});

app.get("/api/upload", function (req, res) {
  console.log("get /api/upload");
  res.send("Hello World!");
});

app.post("/api/upload", function (req, res) {
  console.log("post /api/upload");
  res.send("Hello World!");
});

app.post("/upload", function (req, res) {
  console.log("post /upload");
  res.send("Hello World!");
});

app.listen(3000, function () {
  console.log("Example app listening on port 3000!");
});
